Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / clients / {id} / scope-mappings

Get all scope mappings for this client

Path parameters:
realm - realm name (not id!)
id - id of client (not client-id)

Sub-Resources
Resources
NameDescription
clients
clients/{client}
Get the roles associated with a client's scope for a specific client.
realmGet list of realm-level roles associated with this client's scope.

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/clients/{id}/scope-mappingsGet all scope mappings for this client

Method Detail

GET /admin/realms/{realm}/clients/{id}/scope-mappings

Get all scope mappings for this client

HTTP Example:
GET /admin/realms/{realm}/clients/{id}/scope-mappings
API Example:

ScopeMappedResource.getScopeMappings({'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */});

Output:
MappingsRepresentation -
Produces:
application/json

Keycloak REST Services 1.5.0-Final